package com.ck.demo.service.impl;

import com.ck.demo.dao.UserDao;
import com.ck.demo.entity.User;
import com.ck.demo.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserDao userDao;

    @Override
    public User queryUser(String username, String password) {
        return userDao.queryUser(username, password);
    }
}
